package com.w5cschool.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author w5cschool
 * @since 2021-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbBlogCategory对象", description="")
public class TbBlogCategory implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "分类表主键")
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    @ApiModelProperty(value = "分类的名称")
    private String categoryName;

    @ApiModelProperty(value = "分类的图标")
    private String categoryIcon;

    @ApiModelProperty(value = "分类的排序值 被使用的越多数值越大")
    private Integer categoryRank;

    @ApiModelProperty(value = "是否删除 0=否 1=是")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
